package com.zhg.model.auto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 达瓦里氏
 * @create 2021-12-25 0:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NewsAccount {

    private Integer id;

    /**
     * 资讯标题
     */
    private String title;

    /**
     * 类别id
     */
    @TableField("classId")
    private String classId;

    private String className;

    /**
     * 图片路径
     */
    private String img;

    /**
     * 浏览次数
     */
    private String watch;

    /**
     * 发布机构
     */
    private String body;



    /**
     * 创建时间
     */
    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;

}
